package com.mytecblog.article.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import java.math.BigDecimal;

/**
 * @author yg.huang
 * @version v1.0
 *          DATE  2017/6/13
 */
@Entity(name = "CreditAccount")
public  class CreditAccount extends Account {

    @Column
    private BigDecimal creditLimit;

    public BigDecimal getCreditLimit() {
        return creditLimit;
    }

    public void setCreditLimit(BigDecimal creditLimit) {
        this.creditLimit = creditLimit;
    }
}